import request from "../utils/request";

// 定义登录接口类型
interface Admin {
  id: number,
  account: string,
  password: string
}
export function userLogin(admin: Admin) {
  return request.post<any, requestSuccess>(
    "/dsm-ubm/base-user-info/login",
    admin
  )
}